package com.framework.buss.ai.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.framework.common.model.BaseModelMybatisWithId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhangzhg
 */
@Data
@ApiModel(value="buss_knowledge_file对象", description="知识库文件")
@TableName("buss_knowledge_file")
public class KnowledgeFile extends BaseModelMybatisWithId implements Serializable {
    @ApiModelProperty(value = "知识库名称为用户编号")
    private String knowledgeId;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "类型区分，同一个用户不同的业务： 数据分析3， 文档总结4 ， 快速评估5")
    private String category;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
